﻿using System.ComponentModel;

using DaprPlus.Authorization;

using Microsoft.Extensions.DependencyInjection;


namespace Todos.Infrastructure.Authorization;

[Description("Todos授权模块")]
public class AuthorizationModule : AuthorizationModuleBase<Role>
{
    public override IServiceCollection AddServices(IServiceCollection services)
    {
        services.AddCacheRepository<Role>();
        return base.AddServices(services);
    }
}